package com.gml.design.other.factorymethod;

/**
 * @ClassName : VehicleFactory
 * @Description : 交通工具工厂
 *          简单的工厂， 可扩展性不好
 * @Author : gml
 * @Date: 2021-04-06 17:28
 */
public class SimpleVehicleFactory {

    public Car createCar(){
        return new Car();
    }

    public Plane createPlane(){
        return new Plane();
    }

}
